package com.example.membership.service;
import com.example.membership.model.Product;
import java.util.Map;

public interface ProductService {
    Product getProductById(int id);
    Map<String, Object> getAllProducts(String category, String sortBy, int page, int pageSize);
    void createProduct(Product product);
    void updateProduct(Product product);
    void deleteProduct(int id);
}